# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	vanubi
PORTVERSION=	0.0.15
CATEGORIES=	editors
MASTER_SITES=	GH GHC

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Programming editor written in Vala

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo

GH_ACCOUNT=	${PORTNAME}
GH_PROJECT=	${PORTNAME}
GH_TAGNAME=	v${PORTVERSION}
GH_COMMIT=	a507f97

WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTNAME}-${GH_COMMIT}

USE_GITHUB=	yes
USES=	pkgconfig gmake desktop-file-utils libtool autoreconf
GNU_CONFIGURE=	yes
USE_GNOME=	glib20 gtk30 gtksourceview3 libwnck3 vte3
USE_LDCONFIG=	yes

CONFIGURE_ARGS=--without-asciidoc --disable-static

post-patch:
	${REINPLACE_CMD} -e 's|vte-2.90|vte-2.91|' \
		${WRKSRC}/configure.ac

.include <bsd.port.mk>
